import random as r


with open("classInfo.txt", "w") as f:
    #metadeta
    #content: student number
    f.write('###')
    totalClass = 200
    f.write(str(totalClass))
    f.write('###\n')

    #class data
    for i in range(totalClass):
        code = ''
        for j in range(3 - len(str(i))):
            code += '0'
        code += str(i)

        f.write(code + '\n')
